﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class View_MIS_ARTM95_ABCDE_1 : ViewMatrix//System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Title = "會計科目餘額查詢";
        criteriaList = new string[] { "Criteria", "AccBetween", "Year", "Option","ShowTotal" };
        serviceName = "MISAPP.Classify.Service.Service_ARTM95_ABCDE";
        btn2Excel.PageParameter = "method=Trans2XLS&xls=ARTM95&service=Service_ARTM95_ABCDE";
        if (!IsPostBack)
        { getData(); }
    }

    protected void getData()
    {
        System.Data.DataTable dt = GetDataFromSerevice("GetSummaryData");
        //CLB_Summary.PageSize = GetGridViewPageSize();
        CLB_Summary.SetData(dt, new string[] { });
    }

    protected void previous_click(object sender, EventArgs e)
    { }

    protected void btn2Excel_Click(object sender, EventArgs e)
    {
        FillToSession();
    }

    protected void CLB_Summary_PageIndexChanging(object sender, GridViewPageEventArgs e)
    {
        getData();
    }

    protected void CLB_Summary_Sorting(object sender, GridViewSortEventArgs e)
    {
        getData();
    }

}
